﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace CommonFoundation
{
    public class Log
    {
        public static void WriteLog(String message)
        {
            using (StreamWriter streamWriter = File.AppendText("Log.txt"))
            {
                streamWriter.WriteLine(DateTime.Now);
                streamWriter.WriteLine(message);

                streamWriter.WriteLine();
            }
        }
    }
}
